<template>
  <ElFormItem prop="type" label="显示类型">
    <ElSelect v-model="elProps.type" style="width: 100%">
      <ElOption label="year" value="year"></ElOption>
      <ElOption label="month" value="month"></ElOption>
      <ElOption label="date" value="date"></ElOption>
      <ElOption label="datetime" value="datetime"></ElOption>
      <ElOption label="week" value="week"></ElOption>
      <ElOption label="datetimerange" value="datetimerange"></ElOption>
      <ElOption label="daterange" value="daterange"></ElOption>
      <ElOption label="monthrange" value="monthrange"></ElOption>
    </ElSelect>
  </ElFormItem>
</template>
<script setup lang="ts" name="DateTypeEditor">
import { ElFormItem, ElSelect, ElOption } from "element-plus";
defineProps({
  elProps: {
    type: Object
  }
});
</script>
